gdk/wayland: Use last press serial for clipboard/primary selections
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 18 Jul 2022 10:46:11 +0000 (12:46 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 18 Jul 2022 11:01:27 +0000 (13:01 +0200)
commit5a34b7ecc6b22c7b1145a77629fd0d6ab6197a8f
tree502e72aee451626b63c28a7cfada2804c89679f9
parenteb0b98d5f2ac551c847981e893b7f2f0ac8cf612
gdk/wayland: Use last press serial for clipboard/primary selections

This serial observes key and button presses, we can use that instead
of relying on the last serial which might come from other
events/devices.
gdk/wayland/gdkdevice-wayland.c
gdk/wayland/gdkprimary-wayland.c